import { MockMethod } from 'vite-plugin-mock';
import datajson from './publish.json';
export default [
  {
    url: '/workflows/publish',
    method: 'get',
    response: ({ query }) => {
      datajson.id = query.id;
      return datajson;
    },
  },
] as MockMethod[];
